Field Type
Protobuf enum FieldType
Properties
Link copied to clipboard
Always generate a callback field.
Content copied to clipboard
FT_CALLBACK = 1;
Link copied to clipboard
Automatically decide field type, generate static field if possible.
Content copied to clipboard
FT_DEFAULT = 0;
Link copied to clipboard
Ignore the field completely.
Content copied to clipboard
FT_IGNORE = 3;
Link copied to clipboard
Legacy option, use the separate 'fixed_length' option instead
Content copied to clipboard
FT_INLINE = 5;
Link copied to clipboard
Always generate a dynamically allocated field.
Content copied to clipboard
FT_POINTER = 4;
Link copied to clipboard
Generate a static field or raise an exception if not possible.
Content copied to clipboard
FT_STATIC = 2;
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.